package com.Business.dao;

import com.Pojo.Project;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by XingYang on 2019/3/13.
 */
@Repository
@Mapper
public interface ProjectDao {

    public void AddProjectInfo(Project project);

    public void BindLand(Map<String,String> map);

    public void BindBuilding(Map<String,String> map);

    public void BindAppendage(Map<String,String> map);

    public Project getProjectByProjectNo(String projectNo);

    public Map getProjectBaseInfByNo(String projectNo);


    public List<Map> getProjectByUserId(String uid);

    public List<Map> getProjectByManagerId(String mid);

    public List<Map> getProjectByUserIdState(Map map);

    public List<Map> getProjectByManagerIdState(Map map);

    public void delProject(Map map);

    public void modifyProjectProgress(Map map);
    //修改对象评估进度
    public void changeObjStatus(Map map);
}
